From: Florian Müllner Date: Fri, 20 Feb 2015 10:18:15 +0000 (+0100) Subject: messageTray: Special-case chat notifications to use the old actor X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~1703 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=cd5318baa7699923f9757e25576c9fb4e3aef2ac;p=gnome-shell.git messageTray: Special-case chat notifications to use the old actor --- diff --git a/js/ui/messageTray.js b/js/ui/messageTray.js index a29d93b7f..9e9f7af4c 100644 --- a/js/ui/messageTray.js +++ b/js/ui/messageTray.js @@ -1889,7 +1889,11 @@ const MessageTray = new Lang.Class({ this.idleMonitor.add_user_active_watch(Lang.bind(this, this._onIdleMonitorBecameActive)); } - this._banner = this._notification.createBanner(); + // HACK: didn't manage to get chat into a proper state in time + if (this._notification.source.isChat) + this._banner = this._notification; + else + this._banner = this._notification.createBanner(); this._bannerClickedId = this._banner.connect('done-displaying', Lang.bind(this, this._escapeTray)); this._bannerUnfocusedId = this._banner.connect('unfocused', Lang.bind(this, function() {